
#include <Square.h>
#include "Rectangle.cc"

Square::Square(int side):Rectangle(side,side)
{

}

int  Square::calcSquareArea() const
{
	return Rectangle::calcArea();
}

int  Square::calcSquarePerimeter() const
{
	return Rectangle::calcPerimeter();
}

int  Square::setSquareSide(int  newside)
{
        Rectangle::setRectangleLength(newside);
	Rectangle::setRectangleWidth(newside);
}
